package record

import "crmeb-common/global"

// ProductDayRecord 商品日记录表
type ProductDayRecord struct {
	global.BaseModel
	Date string `json:"date" gorm:"column=date;comment:日期，yyyy-MM-dd"`

	MerId int32 `json:"merId" gorm:"column=mer_id;comment:商户id"`

	ProductId int32 `json:"productId" gorm:"column=product_id;comment:商品id"`

	PageView int32 `json:"pageView" gorm:"column=page_view;comment:浏览量"`

	CollectNum int32 `json:"collectNum" gorm:"column=collect_num;comment:收藏量"`

	AddCartNum int32 `json:"addCartNum" gorm:"column=add_cart_num;comment:加购件数"`

	OrderProductNum int32 `json:"orderProductNum" gorm:"column=order_product_num;comment:下单商品数（销售件数）"`

	OrderSuccessProductFee big.Float `json:"orderSuccessProductFee" gorm:"column=order_success_product_fee;comment:销售额"`
}
